<#include "../../page.ftl" />
<#include "../../display.ftl" />
<table class="table table-datatable table-gray check_table">
    <thead>
    <tr>
        <th style="width: 35px;"><input id="checkAll" type="checkbox" value=""></th>

        <th>产品名称</th>
        <th>周期</th>
        <th>上门次数</th>
        <th>价格</th>
        <th>会员类型</th>

        <th>操作</th>
    </tr>
    </thead>
    <tbody>
    <#if cardTypesTable.rows??>
        <#list cardTypesTable.rows as cardType>
        <tr>
            <td><input name="ids" type="checkbox" value="${cardType.id?c}"></td>

            <td>${cardType.productName!''}</td>
            <td>${cardType.cycle!''}</td>
            <td>${cardType.doorNum!''}</td>
            <td>${cardType.price!''}</td>

            <td>
                <@display list=vipTypeList value="${cardType.vipType!''}"/>
            </td>
        <#--<td>${cardType.vipType!''}</td>-->

            <td>
                <a class="btn btn-green btn-radio nopadding" onclick="return popAddOrModify(${cardType.id?c});"
                   title="编辑"><i class="fa fa-edit"></i></a>
        </tr>
        </#list>
    </#if>
    </tbody>
</table>
<#if cardTypesTable??>
    <@page table=cardTypesTable formId="search_cardType_table"/>
</#if>